package com.qzy.demo.service.impl;

import com.qzy.demo.mapper.GradeMapper;
import com.qzy.demo.mapper.StudentMapper;
import com.qzy.demo.pojo.GradePojo;
import com.qzy.demo.pojo.StudentPojo;
import com.qzy.demo.service.GradeService;
import com.qzy.demo.service.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class GradeServiceImpl implements GradeService {


    @Autowired
    private GradeMapper gradeMapper;
    @Override
    public List<GradePojo> getAllGrades() {
        return gradeMapper.queryGrades();
    }
}
